import React from 'react';
import { connect } from 'dva';
import SalesInvoiceComponent from '../../../components/SalesManage/SalesInvoice/SalesInvoice';

function SalesInvoice({ dispatch, app, content }) {
  const salesInvoiceProps = {
    dispatch,
    app,
    content,
  };
  return (
    <SalesInvoiceComponent {...salesInvoiceProps} />
  );
}

export default connect(({ app, content }) =>
  ({ app, content }))(SalesInvoice);
